using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GNetDesktop
{
    public partial class frmMessageRe : Form
    {

        public string strReSubject = "";
        public string strReBody = "";

        public frmMessageRe()
        {
            InitializeComponent();
        }

        private void frmMessageRe_Load(object sender, EventArgs e)
        {
            txtSubject.Text = strReSubject;
            txtBody.Text = strReBody;
        }

        private void tsbSend_Click(object sender, EventArgs e)
        {
            strReSubject = txtSubject.Text;
            strReBody = txtBody.BodyHtml;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void tsbNew_Click(object sender, EventArgs e)
        {
            txtSubject.Text = "";
            txtBody.Text = "";
        }
    }
}